-- GENERATED SPELL FOR [Bone Construct] --


function spell0_14605(pUnit, Event) --@Exploit Weakness,n/a--
pUnit:FullCastSpellOnTarget(8355,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_14605', 608, 1)
end

function Sorts_14605(pUnit, Event)
local choix_sorts_14605 = math.random(0, 0)
if choix_sorts_14605 == 0 then
pUnit:RegisterEvent('spell0_14605', 1, 1)
end
end

function mob14605_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_14605', math.random(1500, 3000), 1)
end

function mob14605_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob14605_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob14605_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(14605, 1, 'mob14605_Action')
RegisterUnitEvent(14605, 2, 'mob14605_Leave')
RegisterUnitEvent(14605, 3, 'mob14605_Kill')
RegisterUnitEvent(14605, 4, 'mob14605_Die')
